package com.xuecheng.content.service;

import com.xuecheng.content.model.po.CourseTeacher;

import java.util.List;

/**
 * @author ybl
 * @date 2023/3/7 14:52
 * @description 教师-课程信息编辑接口
 * @since version-1.0
 */
public interface CourseTeacherService {
    /**
     * @author ybl
     * @date 2023/3/7 14:53
     * @description 课程教师查询接口
     * @param id courseId
     * @return java.util.List<com.xuecheng.content.model.po.CourseTeacher>
     * @since version-1.0
     */
    List<CourseTeacher> getCourseTeacherList(Long id);

    /**
     * @author ybl
     * @date 2023/3/7 15:08
     * @description 课程教师新增或修改接口
     * @param courseTeacher 新增或修改的教师数据
     * @return com.xuecheng.content.model.po.CourseTeacher
     * @since version-1.0
     */
    CourseTeacher saveCourseTeacher(CourseTeacher courseTeacher);

    /**
     * @author ybl
     * @date 2023/3/7 15:56
     * @description 课程教师删除接口
     * @param courseId 课程id
     * @param id 教师id
     * @since version-1.0
     */
    void deleteCourseTeacher(Long courseId, Long id);
}
